package com.hl.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

@SuppressWarnings("all")
public class Contract implements java.io.Serializable {

	// Fields

	private Integer contractId;
	private Employee employee;
	private Template template;
	private String name;
	private Date signDate;
	private Date beginDate;
	private Integer companyDelegate;
	private Date endDate;
	private Integer contractType;
	private String contractDescribe;
	private Float money;
	private Integer currency;
	private Float firstPay;
	private Integer payType;
	private Float balance;
	private String bankrollPlan;
	private String servicePlan;
	private Integer contractStatus;
	private Integer register;
	private Date registerDate;
	private Date updateDate;
	private String registerOrg;
	private String orgId;
	private String client;
	private String worker;
	private Date startWorkDate;
	private Date endWorkDate;
	private String customerName;
	private String customerPhone;
	private String customerAddress;
	private String attachmenString;
	private Set moneyManages = new HashSet(0);

	// Constructors

	/** default constructor */
	public Contract() {
	}

	/** minimal constructor */
	public Contract(Date registerDate) {
		this.registerDate = registerDate;
	}

	/** full constructor */
	public Contract(Employee employee, Template template, String name, Date signDate, Date beginDate, Integer companyDelegate, Date endDate, Integer contractType,
			String contractDescribe, Float money, Integer currency, Float firstPay, Integer payType, Float balance, String bankrollPlan, String servicePlan,
			Integer contractStatus, Integer register, Date registerDate, Date updateDate, String registerOrg, String orgId, String client, String worker, Date startWorkDate,
			Date endWorkDate, String customerName, String customerPhone, String customerAddress, String attachmenString, Set moneyManages) {
		this.employee = employee;
		this.template = template;
		this.name = name;
		this.signDate = signDate;
		this.beginDate = beginDate;
		this.companyDelegate = companyDelegate;
		this.endDate = endDate;
		this.contractType = contractType;
		this.contractDescribe = contractDescribe;
		this.money = money;
		this.currency = currency;
		this.firstPay = firstPay;
		this.payType = payType;
		this.balance = balance;
		this.bankrollPlan = bankrollPlan;
		this.servicePlan = servicePlan;
		this.contractStatus = contractStatus;
		this.register = register;
		this.registerDate = registerDate;
		this.updateDate = updateDate;
		this.registerOrg = registerOrg;
		this.orgId = orgId;
		this.client = client;
		this.worker = worker;
		this.startWorkDate = startWorkDate;
		this.endWorkDate = endWorkDate;
		this.customerName = customerName;
		this.customerPhone = customerPhone;
		this.customerAddress = customerAddress;
		this.attachmenString = attachmenString;
		this.moneyManages = moneyManages;
	}

	// Property accessors

	public Integer getContractId() {
		return this.contractId;
	}

	public void setContractId(Integer contractId) {
		this.contractId = contractId;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public Template getTemplate() {
		return this.template;
	}

	public void setTemplate(Template template) {
		this.template = template;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getSignDate() {
		return this.signDate;
	}

	public void setSignDate(Date signDate) {
		this.signDate = signDate;
	}

	public Date getBeginDate() {
		return this.beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Integer getCompanyDelegate() {
		return this.companyDelegate;
	}

	public void setCompanyDelegate(Integer companyDelegate) {
		this.companyDelegate = companyDelegate;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getContractType() {
		return this.contractType;
	}

	public void setContractType(Integer contractType) {
		this.contractType = contractType;
	}

	public String getContractDescribe() {
		return this.contractDescribe;
	}

	public void setContractDescribe(String contractDescribe) {
		this.contractDescribe = contractDescribe;
	}

	public Float getMoney() {
		return this.money;
	}

	public void setMoney(Float money) {
		this.money = money;
	}

	public Integer getCurrency() {
		return this.currency;
	}

	public void setCurrency(Integer currency) {
		this.currency = currency;
	}

	public Float getFirstPay() {
		return this.firstPay;
	}

	public void setFirstPay(Float firstPay) {
		this.firstPay = firstPay;
	}

	public Integer getPayType() {
		return this.payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public Float getBalance() {
		return this.balance;
	}

	public void setBalance(Float balance) {
		this.balance = balance;
	}

	public String getBankrollPlan() {
		return this.bankrollPlan;
	}

	public void setBankrollPlan(String bankrollPlan) {
		this.bankrollPlan = bankrollPlan;
	}

	public String getServicePlan() {
		return this.servicePlan;
	}

	public void setServicePlan(String servicePlan) {
		this.servicePlan = servicePlan;
	}

	public Integer getContractStatus() {
		return this.contractStatus;
	}

	public void setContractStatus(Integer contractStatus) {
		this.contractStatus = contractStatus;
	}

	public Integer getRegister() {
		return this.register;
	}

	public void setRegister(Integer register) {
		this.register = register;
	}

	public Date getRegisterDate() {
		return this.registerDate;
	}

	public void setRegisterDate(Date registerDate) {
		this.registerDate = registerDate;
	}

	public Date getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getRegisterOrg() {
		return this.registerOrg;
	}

	public void setRegisterOrg(String registerOrg) {
		this.registerOrg = registerOrg;
	}

	public String getOrgId() {
		return this.orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getClient() {
		return this.client;
	}

	public void setClient(String client) {
		this.client = client;
	}

	public String getWorker() {
		return this.worker;
	}

	public void setWorker(String worker) {
		this.worker = worker;
	}

	public Date getStartWorkDate() {
		return this.startWorkDate;
	}

	public void setStartWorkDate(Date startWorkDate) {
		this.startWorkDate = startWorkDate;
	}

	public Date getEndWorkDate() {
		return this.endWorkDate;
	}

	public void setEndWorkDate(Date endWorkDate) {
		this.endWorkDate = endWorkDate;
	}

	public String getCustomerName() {
		return this.customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getCustomerPhone() {
		return this.customerPhone;
	}

	public void setCustomerPhone(String customerPhone) {
		this.customerPhone = customerPhone;
	}

	public String getCustomerAddress() {
		return this.customerAddress;
	}

	public void setCustomerAddress(String customerAddress) {
		this.customerAddress = customerAddress;
	}

	public String getAttachmenString() {
		return this.attachmenString;
	}

	public void setAttachmenString(String attachmenString) {
		this.attachmenString = attachmenString;
	}

	public Set getMoneyManages() {
		return this.moneyManages;
	}

	public void setMoneyManages(Set moneyManages) {
		this.moneyManages = moneyManages;
	}

}